Skip to content

Implement schema serialization in Swift#129

Open
simolus3 wants to merge 3 commits intomainfrom
serializable-schema
Open

Implement schema serialization in Swift#129
simolus3 wants to merge 3 commits intomainfrom
serializable-schema

Conversation

@simolus3
Copy link
Copy Markdown
Contributor

The core extension expects a JSON-serialized schema to setup tables, views, triggers and the sync client. Currently, the Swift SDK maps its table structures to Kotlin which is then responsible for the serialization.

This implements the necessary steps in Swift through the Encodable protocol. This is not that useful on its own because we still have to go through Kotlin, but this will be helpful as we eventually remove the Kotlin dependency here.

@simolus3 simolus3 marked this pull request as ready for review April 20, 2026 12:35
@simolus3 simolus3 requested a review from stevensJourney April 20, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant